﻿using UnityEngine;
using System.Collections;
using UnityEngine.UI;

public class GameIntroScene : MonoBehaviour {


	public PlayerStorage main;
	public Text ButtonText;
	
	

	
	
	// Use this for initialization
	void Start () 
	{
		main.firstrun = PlayerPrefs.GetInt("FirstRun");
		
		switch (main.firstrun)
		{
			case 1:
			{
			Application.LoadLevel("SettlementScreen");
			break;
			}
			case 0:
			{
			ButtonText.text = "START";
			main.Reset();
			break;
			}
		}


	}
	
	// Update is called once per frame
	void Update () {
	
	}
}
